﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once 
#include "Vector3d.h"
#include "IOffsetCoedgeMap.h" 

namespace gcmp
{
    struct WireBodyOffsetOptions {
        double OffsetDist;                                          //偏移距离。大于0，normal与曲线切向的叉乘为正向偏移；小于0，反之
        gcmp::Vector3d Normal;                                      //wirebody所在平面法向，单位向量
        double DistEpsilon = 0.0001;                                //容差
        OffsetConnect ConnectMode = OffsetConnect::ExtendConnect;   //连接方式，默认为延长求交
    };
}
